package com.ikm.demo.dao;

import com.ikm.demo.entity.SysOrgPerson;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysOrgPersonDao {
   /* @Results({
            @Result(column = "fd_id",property = "fdId"),
            @Result(column = "fd_name",property = "fdName")
    })*/
    @Select("select fd_id,fd_name from sys_org_element where fd_org_type=8")
    List<SysOrgPerson> findPerson();
}
